package com.wenwu.service;

import com.wenwu.common.bean.RelicsMWenwu;
import com.wenwu.common.exception.RelicsException;
import com.wenwu.common.page.PaginationVO;

/**
 * 可移动文物登记表管理
 * @author Yaphet
 *
 */
public interface MoveableRegisterService {

	/**
	 * 添加文物登记表信息
	 * @param relicsMWenwu
	 * @return
	 * @throws RelicsException
	 */
	String addObj(RelicsMWenwu relicsMWenwu) throws RelicsException;
	
	/**
	 * 按条件分页查询数据
	 * @param relicsMWenwu
	 * @return
	 * @throws RelicsException
	 */
	PaginationVO selectByCondition(RelicsMWenwu relicsMWenwu,PaginationVO pageVo) throws RelicsException;
	
	/**
	 * 根据主键key批量删除
	 * @param keys 用","分隔
	 * @return
	 * @throws RelicsException
	 */
	String deleteBykeys(String keys) throws RelicsException;
	
	/**
	 * 根据主键查询数据
	 * @param key
	 * @return
	 */
	RelicsMWenwu selectObjByKey(Integer key) throws RelicsException ;
	

}
